package cn.wolfcode.wms.service;

import cn.wolfcode.wms.domain.Product;
import cn.wolfcode.wms.page.PageResult;
import cn.wolfcode.wms.qo.ProductQueryObject;

import java.util.List;

public interface IProductService {



    int deleteByPrimaryKey(Long id);

    int insert(Product product);

    Product selectByPrimaryKey(Long id);

    List<Product> selectAll();

    int updateByPrimaryKey(Product product);

    void saveorupdate(Product product);

    void delete(Long id);

    PageResult query(ProductQueryObject qo);
}
